package edu.neu.swc.skynet.dao;

import edu.neu.swc.skynet.document.MovieDoc;
import org.springframework.data.elasticsearch.annotations.Query;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;


public interface MovieDocRepository extends ElasticsearchRepository<MovieDoc, Long> {

    List<MovieDoc> findByMovieName(String movieName);
}
